Remember from the section on opening and closing that we need two parameters ( file path name and access mode to the device) to open a device on Linux. 从有关设备打开和关闭的讲解可知,我们需要两个参数(文件路径名和设备访问模式)来打开Linux设备。
Open the log file in a text editor, and add a unique tag to the very beginning of the file and a corresponding closing tag at the end of the file. 在文本编辑器中打开日志文件,在每个文件的开头添加惟一的标记,在末尾添加相应的结束标记。
Observe that in the demo code, the client also subscribes to an additional closing event that is published by the MIDI file player at the end of file. 观察演示代码中的通配符,客户端还订阅了额外的关闭事件,该事件是由MIDI文件播放器在文件的末尾发布的。
Sounds in response to user activity, such as a click after a keypress, a whoosh accompanying opening and closing windows, or a klunk when a file is deleted. 用声音对用户的行为作出响应,比如在按键之后的滴答声,打开或关闭一个窗口后发出的“嗖”的声音,或者是一个文件被删除后发出的沉闷的声音。
Closing the file will not let you access it anymore, so only call it when you are done using the file and it will automatically save the file for you. 文件关闭之后就不能再操作了,所以只有在你不再操作这个文件的时候才调用它,它会自动保存文件。
Error while closing file. 在关闭文件时出错。
Be sure there is nothing after the closing PHP tag in the file. 确定文件中关闭的PHP标签后没有任何内容。
Database management module is responsible for some basic file operations, such as opening the file 、 closing the file etc, to database and storage of data files after retrieval, converts data of these databases into uniform one in memory which will be used by other modules. 数据库管理模块主要负责数据库及检索后存储的数据文件的打开、关闭等等一些基本的文件操作,并把这些数据库中的数据转换成Uniform数据存入内存,供其它模块使用。